﻿

using Newtonsoft.Json;
using System;

namespace T.FAS.Runtime.Metadata.Entity
{
    /// <summary>
    /// 元数据属性
    /// </summary>
    public class MetaDataProperty
    {
        public string ID { get; set; }
        /// <summary>
        /// 元数据类型，Page、UIControl等
        /// </summary>
        public string MetaTypeID { get; set; }
        /// <summary>
        /// 0：属性，1：事件
        /// </summary>
        public int Type { get; set; }
        public string Name { get; set; }
        public string Code { get; set; }
        public string ValueType { get; set; }
        public string Description { get; set; }
        public string HelperLink { get; set; }
        public string DemoCode { get; set; }
        public string PropertyEditor { get; set; }
        public string DefaultValue { get; set; }
        public bool IsHide { get; set; }
        public bool OuterLayer { get; set; }
        [JsonIgnore]
        public string TenantID { get; set; }
        [JsonIgnore]
        public int SortCode { get; set; }
        [JsonIgnore]
        public string Creator { get; set; }
        [JsonIgnore]
        public DateTime CreateTime { get; set; }
        [JsonIgnore]
        public string LastModifier { get; set; }
        [JsonIgnore]
        public DateTime LastModifyTime { get; set; }
    }
}
